package com.pc_project.mapper;

import com.pc_project.domain.User;
import org.springframework.stereotype.Service;

@Service
public interface UserDao {
    int deleteByPrimaryKey(Integer uid);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer uid);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

//    根据用户名查找用户
    User selectOneByUsername(String username);
    //根据用户

}